<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="white" />
		<title>个人中心-团队</title>
		<link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.3/style/weui.min.css">
		<link rel="stylesheet" href="../public/css/mobileSelect.css">
		<link rel="stylesheet" href="../public/css/jquery-weui.css">
		<link rel="stylesheet" href="../public/css/common.css" />
		<link rel="stylesheet" href="css/team.css" />
		<script src="../public/js/jquery-2.1.4.js"></script>
		<script src="../public/js/template-web.js"></script>
		<script src="../public/js/mobileSelect.min.js"></script>
		<script src="../public/js/font_size.js"></script>
		<script src="../public/js/common.js"></script>
		<script src="js/team.js"></script>
	</head>

	<body>
		<div class="wrap container">
			<div class="personal-content">
				<div class="personal-header">
					<div class="title">
						<div class="icon">
							<a href="javascript:history.back(-1);"><img class="img-responsive" src="../public/images/arrow_left@2x.png" /></a>
						</div>
						<div class="text">团队</div>
					</div>
				</div>
				<div class="personal-body">
					<div class="search-box">
						<div class="input-box ellipsis-1"><input id="accountnumber" type="text" placeholder="搜索手机号码或邮箱号" /></div>
						<div onclick="doSearch()" class="search-btn">搜索</div>
					</div>
					<div id="table-wrap" class="table-wrap"></div>
				</div>
			</div>
		</div>
	</body>
	<script src="https://cdn.bootcss.com/jquery-weui/1.2.1/js/jquery-weui.min.js"></script>

</html>

<script id="table-wrap-tpl" type="text/html">
	<div class="level-table-box">
		<table cellpadding="0" border="0" cellspacing="0">
			<tr>
				<th>A级</th>
				<th>B级</th>
				<th>C级</th>
			</tr>
			<tr>
				<td>{{rs["1"]}}人</td>
				<td>{{rs["2"]}}人</td>
				<td>{{rs["3"]}}人</td>
			</tr>
			<tr>
				<th>D级</th>
				<th>E级</th>
				<th>F级</th>
			</tr>
			<tr>
				<td>{{rs["4"]}}人</td>
				<td>{{rs["5"]}}人</td>
				<td>{{rs["6"]}}人</td>
			</tr>
			<tr>
				<th>G级</th>
				<th>G级以下</th>
				<th>合计</th>
			</tr>
			<tr>
				<td>{{rs["7"]}}人</td>
				<td>{{rs["8"]}}人</td>
				<td>{{rs.teamSum}}人</td>
			</tr>
		</table>
	</div>
	<div id="team-list-box" class="team-list-box">
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<th>序号</th>
				<th>账号</th>
				<th>邀请时间</th>
			</tr>
			{{if rs.oneList.length > 0}} {{each rs.oneList rs i}}
			<tr>
				<td>{{i + 1}}</td>
				<td>{{rs.username}}</td>
				<td>{{rs.enrollTime | getLocalTime}}</td>
			</tr>
			{{/each}} {{else}}
			<tr>
				<td colspan="3">
					<div class="weui-loadmore weui-loadmore_line">
						<span class="weui-loadmore__tips">暂无数据</span>
					</div>
				</td>
			</tr>
			{{/if}}
		</table>
	</div>
</script>